import request from './request.js'


//提交订单
export function refundOrder(params) {
	return request({
		url: '/order/refund',
		method: 'GET',
		params: params
	})
}
//取消订单
export function addOrder(params) {
	return request({
		url: '/order/submit',
		method: 'POST',
	
		params: params
	})
}
//获取订单
export function getOrderList(params) {
	return request({
		url: '/order/list/app',
		method: 'GET',
		params: params
	})
}


export function pay(orderId) {
	return request({
		url: '/order/pay/'+orderId,
		method: 'GET'
	})
}

//自提点信息列表
export function getSelfPoint(params) {
	return request({
		url: '/gl/selfLiftingPoint',
		method: 'GET',
		params: params
	})
}

